<#include "/common/taglibs.ftl" />
<meta name="decorator" content="simple"/>
<title><@spring.message code="tree" /> - <@spring.message code="${op}" /></title>
<div class="m-portlet m-portlet--mobile m-portlet--tabs">
    <div class="m-portlet__head">
        <div class="m-portlet__head-caption">
            <div class="m-portlet__head-title">
                <h3 class="m-portlet__head-text">
                <@spring.message code="${entityName!}"/>
                </h3>
            </div>
        </div>
        <div class="m-portlet__head-tools">
        <#include "/common/component/tree/treeNav.ftl" />
        </div>
    </div>
    <div class="m-portlet__body">
        <div class="table-container">
            <@showMessage />
            <table class="table table-striped- table-bordered table-hover table-checkable dataTable dtr-inline" id="datatable"
                   data-datatable="true"
                   data-datatable-advance-search="true"
                   data-datatable-draw-callback="drawCallback"
                   data-datatable-quick-search-filter="search_LIKE_name_OR_icon"
            >
                <thead>
                <tr role="row" class="heading">
                    <#--<th width="1%" data-checkable="true" data-orderable="false"></th>-->
                    <th width="5%" data-data="id" data-searchable="false"> ID# </th>
                    <th width="10%" data-data="name"> <@spring.message code="tree.name"/> </th>
                    <th width="10%" data-data="icon"> <@spring.message code="icon"/> </th>
                    <th width="10%" data-data="weight"> <@spring.message code="tree.weight"/> </th>
                    <th width="10%" data-data="show" data-render="renderBoolean"> <@spring.message code="tree.show"/> </th>
                    <th width="10%" data-data="parentId"> <@spring.message code="tree.parent"/>ID </th>
                    <th data-data="parentIds"> <@spring.message code="tree.parent.path"/> </th>
                </tr>
                </thead>
                <tbody> </tbody>
            </table>
        </div>
    </div>
</div>

<page-plugin-style>
</page-plugin-style>
<page-style>
</page-style>
<page-plugin-script>
</page-plugin-script>
<page-script>
</page-script>